package jude.java.framework.thread;

public interface Controlable {
	
	/**
	 * get supported commands
	 * @return null means all commands
	 */
	public String[] getCommands();
	
	public void onCommand(int index, String cmd);
	
	public boolean isFinished();
	
}
